/***************************************************************************
 创建者: 华磊
 开始时间: 2018.8.14
 copyright: (C) 华友高科
 修改说明: (每次有修改就添加一条，带有 修改人，修改时间，修改描述)
 example (1) hualei 2017.5.8 类的具体实现代码编写

 ***************************************************************************
 *  @file x.h
 *  功能:
 *
 *                                                                         *
 ***************************************************************************/
#ifndef REGISTERPRINS_H
#define REGISTERPRINS_H

#include <QDataStream>
#include <QVector>
#include <QDebug>

#include "instructionEnum.h"
/**
 * @brief The RegisterPrIns class  指令信息提取类
 */
class RegisterPrIns
{
public:
    RegisterPrIns();

    friend QDataStream& operator <<(QDataStream &out,RegisterPrIns &myVector);

    friend QDataStream& operator >>(QDataStream &in,RegisterPrIns &myVector);

    int jointFlag;

    QVector <float> prValueList;
};

class RegisterOfPr
{
public:
    RegisterOfPr();

    friend QDataStream& operator <<(QDataStream &out,RegisterOfPr &myVector);

    friend QDataStream& operator >>(QDataStream &in,RegisterOfPr &myVector);

    QVector <RegisterPrIns> prData;
};

#endif // REGISTERPRINS_H

